/*******************************************************************************
 * AttributeConstants.java
 *
 * Created by Ankur
 * Last modified Date: Oct 15, 2008 11:19:07 AM by nishan
  * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 ******************************************************************************/

package com.printeverywhere.util;

import org.apache.log4j.Logger;

/**
 * The Class AttributeConstants.
 */
public class AttributeConstants {

	/** Logger for this class. */
	private static final Logger logger = Logger.getLogger(AttributeConstants.class);

	public static final Integer CAMPAIGNSTATUS_PENDING = 1;
	public static final Integer CAMPAIGNSTATUS_APPROVED = 2;
	public static final Integer CAMPAIGNSTATUS_REJECTED = 3;
	public static final Integer CAMPAIGNSTATUS_SUSPENDED = 4;
	public static final Integer CAMPAIGNSTATUS_ACTIVE = 5;
	public static final Integer CAMPAIGNSTATUS_EXPIRED = 6;


	/** The Constant NONE. */
	public static final String NONE="".intern();
	public static final Integer ITEMTYPE_CENTRALLIST = 0;
	public static final Integer ITEMTYPE_STRAIGHTAUCTION = 1;
	public static final Integer ITEMTYPE_FIXEDPRICE = 2;
	public static final Integer ITEMTYPE_SHOPS = 3;
	public static final Integer ITEMTYPE_ITEMSWANTED = 4;
	public static final Integer ITEMTYPE_ADVERTISEMENTS = 5;
	public static final Integer ITEMTYPE_COMPANYPROFILES = 6;
	public static final Integer ITEMTYPE_TENDERS = 7;
	public static final String ITEMS = "items".intern();

	public static final String ITEMTYPE_CENTRAL_LIST = "centrallist";
	public static final String ITEMTYPE_STRAIGHT_AUCTION = "auction";
	public static final String ITEMTYPE_FIXED_PRICE = "fixed";
	public static final String ITEMTYPE_SHOP = "shops";
	public static final String ITEMTYPE_ITEMS_WANTED = "itemswanted";
	public static final String ITEMTYPE_ADVERTISEMENT = "advertisements";
	public static final String ITEMTYPE_COMPANY_PROFILES = "companyprofiles";
	public static final String ITEMTYPE_TENDER = "tenders size";

	public static final String MYACCOUNTCOUNT = "myAccountCount";


	/** The Constant COUNTRY_ID. */
	public static final String COUNTRY_ID = "country".intern();

	public static final String COUNTRY ="country".intern();
	public static final String COMMA=",".intern();

	public static final String BIDS="bids".intern();
	public static final String BID="bid".intern();
	public static final String SEARCH="Search".intern();
	public static final String TITLE="title".intern();
	public static final String DESCRIPTION="description".intern();
	public static final String ITEMTYPE="itemtype".intern();

	public static final String T = "t";
	public static final String ITEMTYPE_ID="itemtype.id".intern();
	public static final String ITEMLANGUAGE="itemLanguage".intern();

	public static final String REGIONLIST=	"regionList".intern();
	public static final String COUNTRYLIST="countryList".intern();
	public static final String TEXT_XML="text/xml".intern();

	public static final String CACHE_CONTROL="Cache-Control".intern();

	public static final String NO_CACHE="no-cache".intern();

	public static final String ISO_8859_1="ISO-8859-1".intern();

	public static final String LIST_DTD="list.dtd".intern();

	public static final String LIST="list".intern();

	public static final String SEARCH_RESULT_LINK="<a href=\"searchResult.htm\">".intern();

	public static final String SEARCH_RESULT_LINK_END="</a>".intern();
	public static final String HIDDEN_ELEMENT="<input type=\"hidden\" value=\"".intern();

	public static final String HIDDEN_SELECTECTEDCATEGORYID="\" name=\"selectectedCategoryid\">".intern();
	public static final String OPTION="option".intern();
	public static final String SELECT_A_CATEGORY="--Select a Category--".intern();

	public static final String SELECT_A_COUNTRY ="Select a country".intern();

	public static final String GO_BACK=" Go Back---".intern();
	public static final String ACTIVE="active".intern();
	public static final String ALL_CATEGORY_ITEMS= "All Category Items ( ".intern();

	public static final String ALL_COUNTRY_ITEMS ="All Country Items (".intern();

	public static final String ALL_LANGUAGE_ITEMS ="All Language Items ( ".intern();
	public static final String CLOSE_ALL_LANGUAGE_ITEMS=" )".intern();
	public static final String CLOSE_ALL_COUNTRY_ITEMS=" )".intern();
	public static final String LIST_START =" (".intern();
	public static final String LIST_END =" )".intern();
	public static final String ALL_REGIONS_ITEMS ="All Regions Items (".intern();
	public static final String CLOSE_ALL_REGIONS_ITEMS =" )".intern();
	public static final String CLOSE_ALL_CATEGORY_ITEMS=" )".intern();
	public static final String CURRENCY="currency".intern();
	public static final String TOP="top".intern();
	public static final String ENDSOON="endsoon".intern();

	public static final String ENDTIME="endTime".intern();
	public static final String ENDTODAY="endtoday".intern();
	public static final String NEWTODAY="newtoday".intern();
	public static final String NEWLIST="newlist".intern();

	public static final String LOCATIONCATEGORIESREGION="locationCategoriesRegion".intern();

	public static final String LOCATIONCATEGORIESCOUNTRY="locationCategoriesCountry".intern();
	public static final String LOCATIONCATEGORIESSTATE="locationCategoriesState".intern();
	/** The Constant UTF8. */
	public static final String UTF8 = "UTF8".intern();

	/** The Constant COUNTRY_ID. */
	public static final String CATEGORY_ID = "categoryId".intern();

	public static final String CATEGORY ="category".intern();
	public static final String SUBMIT="Submit".intern();
	/** The Constant OTHER. */
	public static final String OTHER = "Other".intern();

	/** The Constant EMAIL. */
	public static final String EMAIL ="email".intern();

	/** The Constant WEBSITEADDRESS. */
	public static final String WEBSITEADDRESS = "webSiteAddress".intern();

	/** The Constant PHONE. */
	public static final String  PHONE= "phone".intern();



	public static final String  GENERALCATEGORIES= "generalCategories".intern();

	/** The Constant USRNAME. */
	public static final String USRNAME ="username".intern();

	/** The Constant BANNED_DOMAIN_ID. */
	public static final String BANNED_DOMAIN_ID ="id".intern();

	/** The Constant BANNED_DOMAIN_ID. */
	public static final String USERFAVOURITECATEGORY_ID ="id".intern();

	/** The Constant CAPTCHA. */
	public static final String CAPTCHA = "captcha".intern();

	/** The Constant ACCOUNTID. */
	public static final String ACCOUNTID ="accountId".intern();


	// User attributes...

	/** The Constant USER. */
	public static final String USER = "user".intern();

	/** The Constant ADMIN. */
	public static final String ADMIN = "Admin".intern();

	/** The Constant CATEGORY_HEADER. */
	public static final String CATEGORY_HEADER = "categoryHeader".intern();

	public static final String ADMIN_INDEX = "admin/index".intern();
	public static final String ADMIN_DOLOGIN = "admin/doLogin".intern();

	/** The Constant USER_ID. */
	public static final String USER_ID = "userId".intern();
	public static final String SOLD = "sold".intern();
	/** The Constant USER_NAME. */
	public static final String USER_NAME = "userName".intern();

	/** The Constant GETUSERNOTSTARTWITHALBHA. */
	public static final String GETUSERNOTSTARTWITHALBHA="getUserNotStartWithAlbha".intern();

	/** The Constant FEEDBACKCOUNT. */
	public static final String FEEDBACKCOUNT="feedbackCount".intern();

	/** The Constant PASSWORD. */
	public static final String PASSWORD = "password".intern();

	public static final String  BACK="back".intern();

	/** The Constant FIRSTNAME. */
	public static final String FIRSTNAME = "firstName".intern();

	/** The Constant LASTNAME. */
	public static final String LASTNAME="lastName".intern();

	/** The Constant COMPANY. */
	public static final String COMPANY="company".intern();

	/** The Constant STREET. */
	public static final String STREET="street".intern();

	/** The Constant CITY. */
	public static final String CITY="city".intern();

	/** The Constant STATE. */
	public static final String STATE="state".intern();

	/** The Constant ZIP. */
	public static final String ZIP="zip".intern();

	/** The Constant CREATEDDATE. */
	public static final String CREATEDDATE="createdDate".intern();

	/** The Constant CREADITCARDID. */
	public static final String CREADITCARDID ="creaditCardId".intern();

	/** The Constant ID. */
	public static final String ID ="id".intern();

	public static final String USERFAVORITESCOMPANYPROFILEID ="id".intern();



	/** The Constant DTO. */
	public static final String DTO ="dto".intern();

	/** The Constant SHOP_SETTINGS. */
	public static final String SHOP_SETTINGS ="ShopSettings".intern();

	public static final String BANNER_CAMPAIGNS ="BannerCampaigns".intern();

	public static final String ITEAM ="Items".intern();

	public static final String ITEMSDTO ="ItemsDTO".intern();

	public static final String ITEMOFFERS ="ItemOffers".intern();

	public static final String ITEMOFFERSDTO ="ItemOffersDTO".intern();

	/** The Constant IMAGE. */
	public static final String IMAGE = "image/jpg".intern();

	public static final String VALUE="value".intern();

	public static final String CDATA="CDATA".intern();
	// Return values

	/** The Constant LOGIN. */
	public static final String LOGIN = "login".intern();

	// Request parameter

	/** The Constant ACTIVATION_CODE. */
	public static final String ACTIVATION_CODE = "activationKey".intern();

	/** The Constant REFERAL. */
	public static final String REFERAL = "referal".intern();

	// Encryption decryption key

	/** The Constant KEY. */
	public static final String KEY = "printeverywhere".intern();

	/** The Constant ENCRYPTION_PATTERN_GPSG. */
	public static final String ENCRYPTION_PATTERN_GPSG = "[+]".intern();

	/** The Constant GPSG. */
	public static final String GPSG = "GPSG".intern();

	/** The Constant ENCRYPTION_PATTERN_GELG. */
	public static final String ENCRYPTION_PATTERN_GELG = "[=]".intern();

	/** The Constant GELG. */
	public static final String GELG = "GELG".intern();

	/** The Constant ENCRYPTION_PATTERN_GSLG. */
	public static final String ENCRYPTION_PATTERN_GSLG = "[/]".intern();

	/** The Constant GSLG. */
	public static final String GSLG = "GSLG".intern();

	/** The Constant PLUS. */
	public static final String PLUS = "+".intern();

	/** The Constant EQUALS. */
	public static final String EQUALS = "=".intern();

	/** The Constant SLASH. */
	public static final String SLASH = "/".intern();

	/** The Constant CLOSING_SESSION. */
	public static final String CLOSING_SESSION = "Closing session".intern();

	/** The Constant SUBJECT. */
	public static final String SUBJECT = "subject".intern();

	/** The Constant ITEMID. */
	public static final String ITEMID ="itemId".intern();

	/** The Constant ITEMID. */
	public static final String QUANTITY ="quantity".intern();


	/** The Constant ITEMID. */
	public static final String FALSE ="false".intern();



	// Class name
	public static final String USERFAVOURITECATEGORY="com.printeverywhere.dto.UserFavouriteCategory".intern();
	public static final String USERFAVORITESCOMPANYPROFILE="com.printeverywhere.dto.UserFavoritesCompanyprofile".intern();
	public static final String USERFAVORITESSEARCH="com.printeverywhere.dto.UserFavoritesSearch".intern();
	public static final String USERFAVORITESSHOPS="com.printeverywhere.dto.UserFavoritesShops".intern();
	public static final String USERFAVORITESUSERS="com.printeverywhere.dto.UserFavoritesUsers".intern();
	public static final String USER_CLASS="com.printeverywhere.dto.User".intern();

	public static final String LISTINGOPTIONS="com.printeverywhere.dto.ListingOptions".intern();

	public static final String CURRENCY_CLASS="com.printeverywhere.dto.Currency".intern();
	public static final String USERIDFAV="userIdFav".intern();

	public static final String FAVOURITEUSERACTION_ID ="id".intern();
	public static final String USERFAVORITESSEARCH_ID ="id".intern();
	public static final String USERFAVORITESSHOPS_ID ="id".intern();
	public static final String USERFAVORITESUSERS_ID ="id".intern();

	//  Error Constants

	public static final String  DUPLICATE_CATEGORY="duplicate.category".intern();

	public static final String  NULL_SEARCH_WORD="null.search.word".intern();
	public static final String  NULL_SEARCH_CATEGORY="null.search.category".intern();
	public static final String  NULL_SEARCH_LOCATION="null.search.location".intern();

	public static final String DUPLICATE_USER="duplicate.user".intern();
	public static final String NULL_SEARCH_USER="null.search.user".intern();
	public static final String VALID_SEARCH_USER="valid.search.user".intern();


}




